package com.rightsidetech.system.mapper;

import com.rightsidetech.system.entity.SysAgentRoleResource;

import java.util.List;

public interface SysAgentRoleResourceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysAgentRoleResource record);

    int insertSelective(SysAgentRoleResource record);

    SysAgentRoleResource selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysAgentRoleResource record);

    int updateByPrimaryKey(SysAgentRoleResource record);

    int insertList(List<SysAgentRoleResource> list);

    int deleteByRoleId(Long roleId);

    int findByResourceId(Long resourceId);

    List<Long> selectByRoleId(Long roleId);

    List<Long> selectByLoginId(Long loginId);

    int insertRoleResouceList(List<SysAgentRoleResource> list);
}